Skip to main content
Version: 8.6.10.4

KeyTransformV3

V8 Message Definiton

THE EDGE: one row per (transit, childKey, parentKey) pair - a scatter is 1 parent x N children, a gather N x 1, a triangular merger M x N with per-pair terms. THE TABLE IS A DIFF: the identity edge (self-parent, 1:1, no cash) is NEVER stored - the only reason key-level lineage is affordable at options-chain scale. Lineage is a DAG by construction: edges point back exactly one period

METADATA​

AttributeValue
Topic9100-product-def-core
MLink TokenEquityDefinition
ProductSRReference
accessTypeSELECT
MLink EndpointMLink-Live

Table Definition​

FieldTypeKeyDefault ValueComment
transitDateDATEPRI'1900-01-01'the TD1 boundary the edge crosses INTO
childKey_atenum - AssetTypePRI'None'empty on Destroy the position ends in cash
childKey_tsenum - TickerSrcPRI'None'empty on Destroy the position ends in cash
childKey_tkVARCHAR(12)PRI''empty on Destroy the position ends in cash
childKey_yrSMALLINT UNSIGNEDPRI0empty on Destroy the position ends in cash
childKey_mnTINYINT UNSIGNEDPRI0empty on Destroy the position ends in cash
childKey_dyTINYINT UNSIGNEDPRI0empty on Destroy the position ends in cash
childKey_xxDOUBLEPRI0empty on Destroy the position ends in cash
childKey_cpenum - CallPutPRI'Call'empty on Destroy the position ends in cash
parentKey_atenum - AssetTypePRI'None'empty on Create
parentKey_tsenum - TickerSrcPRI'None'empty on Create
parentKey_tkVARCHAR(12)PRI''empty on Create
parentKey_yrSMALLINT UNSIGNEDPRI0empty on Create
parentKey_mnTINYINT UNSIGNEDPRI0empty on Create
parentKey_dyTINYINT UNSIGNEDPRI0empty on Create
parentKey_xxDOUBLEPRI0empty on Create
parentKey_cpenum - CallPutPRI'Call'empty on Create
seqTINYINT UNSIGNEDPRI0composition within one transit split rename share a boundary each seq references its own action
actionKeyVARCHAR(16)''CorpActionDefinition the ONE event this edge serves
openum - TransformOp'None'Create Destroy Scatter Gather Adjust Rename Adjust character change under a preserved key the splits selfedge a dividends 11 selfedge with cash Rename 11 identity terms
shareRatioNumINT0
shareRatioDenINT0
basisAllocPctDOUBLE0NOT the share ratio spinoff basis follows relative fair values
cashPerUnitDOUBLE0the cash leg per parent unit dividends redemptions cashinlieu cash elections default
isOverrideenum - YesNo'None'
noteTINYTEXT''
v3Sourceenum - V3Source'None'
timestampDATETIME(6)'1900-01-01 00:00:00.000000'
cashCurrencyVARCHAR(3)''currency of cashPerUnit empty when there is no cash leg

PRIMARY KEY DEFINITION (Unique)​

FieldSequence
transitDate1
childKey_tk2
childKey_yr3
childKey_mn4
childKey_dy5
childKey_xx6
childKey_cp7
childKey_at8
childKey_ts9
parentKey_tk10
parentKey_yr11
parentKey_mn12
parentKey_dy13
parentKey_xx14
parentKey_cp15
parentKey_at16
parentKey_ts17
seq18

SELECT TABLE EXAMPLE QUERY​

SELECT *
FROM `SRReference`.`MsgKeyTransformV3`
WHERE
/* Replace with a DATE */
`transitDate` = '2022-01-01'
AND
/* Replace with a ENUM('None','EQT','IDX','BND','CUR','COM','FUT','SYN','WAR','FLX','MUT','SPD','MM','MF','COIN','TOKEN','ANY','RATE','CRDT','GCR','SWAP','ENT','MBS','SET','LOAN') */
`childKey_at` = 'NONE'
AND
/* Replace with a ENUM('None','SR','NMS','CME','ICE','CFE','CBOT','NYMEX','COMEX','RUT','CIDX','ARCA','NYSE','OTC','NSDQ','MFQS','MIAX','DJI','CUSIP','ISIN','BXE','SCE','ANY','CXE','DXE','NXAM','NXBR','NXLS','NXML','NXOS','NXP','EUREX','CEDX','ICEFEC','ICEFEF','CEQT','TSX','TMX','CRCY','CMDY','DTI','SOVN','SR_US','SR_EU','SR_AP','SR_UK','USD','EUR','GBP','CHF','JPY','CAD','AUD','HKD','KRW','INR','SGD','TWD','CNY','CNH','BRL','MXN','ZAR','SEK','NOK','DKK','PLN','ILS','TRY','NZD','THB','MYR','IDR','PHP','CZK','HUF','SAR','AED','CLP','COP') */
`childKey_ts` = 'NONE'
AND
/* Replace with a VARCHAR(12) */
`childKey_tk` = 'Example_childKey_tk'
AND
/* Replace with a SMALLINT UNSIGNED */
`childKey_yr` = 123
AND
/* Replace with a TINYINT UNSIGNED */
`childKey_mn` = 1
AND
/* Replace with a TINYINT UNSIGNED */
`childKey_dy` = 1
AND
/* Replace with a DOUBLE */
`childKey_xx` = 4.56
AND
/* Replace with a ENUM('Call','Put','Pair') */
`childKey_cp` = 'CALL'
AND
/* Replace with a ENUM('None','EQT','IDX','BND','CUR','COM','FUT','SYN','WAR','FLX','MUT','SPD','MM','MF','COIN','TOKEN','ANY','RATE','CRDT','GCR','SWAP','ENT','MBS','SET','LOAN') */
`parentKey_at` = 'NONE'
AND
/* Replace with a ENUM('None','SR','NMS','CME','ICE','CFE','CBOT','NYMEX','COMEX','RUT','CIDX','ARCA','NYSE','OTC','NSDQ','MFQS','MIAX','DJI','CUSIP','ISIN','BXE','SCE','ANY','CXE','DXE','NXAM','NXBR','NXLS','NXML','NXOS','NXP','EUREX','CEDX','ICEFEC','ICEFEF','CEQT','TSX','TMX','CRCY','CMDY','DTI','SOVN','SR_US','SR_EU','SR_AP','SR_UK','USD','EUR','GBP','CHF','JPY','CAD','AUD','HKD','KRW','INR','SGD','TWD','CNY','CNH','BRL','MXN','ZAR','SEK','NOK','DKK','PLN','ILS','TRY','NZD','THB','MYR','IDR','PHP','CZK','HUF','SAR','AED','CLP','COP') */
`parentKey_ts` = 'NONE'
AND
/* Replace with a VARCHAR(12) */
`parentKey_tk` = 'Example_parentKey_tk'
AND
/* Replace with a SMALLINT UNSIGNED */
`parentKey_yr` = 123
AND
/* Replace with a TINYINT UNSIGNED */
`parentKey_mn` = 1
AND
/* Replace with a TINYINT UNSIGNED */
`parentKey_dy` = 1
AND
/* Replace with a DOUBLE */
`parentKey_xx` = 4.56
AND
/* Replace with a ENUM('Call','Put','Pair') */
`parentKey_cp` = 'CALL'
AND
/* Replace with a TINYINT UNSIGNED */
`seq` = 1;

Doc Columns Query​

SELECT * FROM SRReference.doccolumns WHERE TABLE_NAME='KeyTransformV3' ORDER BY ordinal_position ASC;